﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Chapter09.Code02.Code01.Snippet03
{
    public class Demo
    {
        public static void Begin()
        {
            MyDerivedClass myObj = new MyDerivedClass();
            MyBaseClass myBaseObj;
            myBaseObj = myObj;
            myBaseObj.DoSomething();
        }
    }
}
